<?
class UpgradesUpsalesStatBO extends BusinessObject{

  /* private function using in constructors */ 
  function setAttributes(){
	$this->fields	= array(
				'id'	          => 'upgsID',
				'item_initial'    => 'upgsItem_initial',
				'item_upgrade'    => 'upgsItem_upgrade',
				'date_time'       => 'upgsDatetime',
				'bought'          => 'upgsBuyStatus',
				'upgrade_related' => 'upgsUpgradeOrRelated'
	);
    BusinessObject::setAttributes();
  }
 
  function UpgradesUpsalesStatBO(){
    BusinessObject::BusinessObject("upgrades_statistic");
    $this->setAttributes();
  }
}
?>